package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
*
*
* @author quan
* @date 2021-10-22 16:44
*/


@Data
@TableName(value = "t_guest")
@Accessors(chain = true)
public class TGuest {
    @ApiModelProperty("自增id")
    @TableField(value = "auto_id")
    private Long autoId;

    /**
     * 游客id 对应会员表 业务id
     */
    @ApiModelProperty("游客id 对应会员表 业务id")
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 设备id
     */
    @ApiModelProperty("设备id")
    @TableField(value = "device_id")
    private String deviceId;

    /**
     * 游客名称
     */
    @ApiModelProperty("游客名称")
    @TableField(value = "name")
    private String name;

    /**
     * 0游客 1已经是用户
     */
    @ApiModelProperty("0游客 1已经是用户")
    @TableField(value = "convert_member")
    private Integer convertMember;

    @TableField(value = "add_time")
    private Date addTime;
}